package com.zengqingfa.springboot.validation.demo.dto;

import com.zengqingfa.springboot.validation.demo.annotation.ListValue;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zengqingfa
 * @className ListValueValidatorDTO
 * @description
 * @create 2022/12/17 23:25
 */
@Data
public class ListValueValidatorDTO implements Serializable {

    @ListValue(vals = {1, 2, 3, 4})
    private Integer status;
}